#ifndef SRC_PAGES_FRM07_H
#define SRC_PAGES_FRM07_H

#include "../HmiApp.h"
#include "widgets/Widgets.h"
#include "type/Types.h"
#include "misc/misc.h"
#include "op/DataSample.h"
#include "op/EventMgr.h"
#include "op/RCP.h"
#include "op/OpLog.h"
#include "util/DateUtil.h"
#include "util/StringUtil.h"

using namespace std;
using namespace stt;
using namespace stt::op;
using namespace stt::db;
using namespace stt::misc;
using namespace stt::data;
using namespace stt::util;
using namespace stt::constant;

/********************************
 *
 *  页面类
 *
 *  注意：用户可在指定位置添加修改内容
 *

 ********************************/
class HmiApp;

class Frm07: public STTPage {
public:
	STTPanel *wMPanel1;
	STTLabel *wMLabel1;
	STTButton *wMButton21;
	void wMButton21_clk_cb(uint16_t code, LvEvent e);

	STTButton *wMMButton1;
	STTPanel *wMPanel2;
	STTSlider *wMSlider2;
	void wMSlider2_vch_cb(uint16_t code, LvEvent e);

	STTSlider *wMSlider3;
	void wMSlider3_vch_cb(uint16_t code, LvEvent e);

	STTSlider *wMSlider4;
	void wMSlider4_vch_cb(uint16_t code, LvEvent e);

	STTSlider *wMSlider9;
	void wMSlider9_vch_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel3;
	STTLabel *wMLabel4;
	STTSlider *wMSlider10;
	void wMSlider10_vch_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel6;
	STTSlider *wMSlider11;
	void wMSlider11_vch_cb(uint16_t code, LvEvent e);

	STTSlider *wMSlider12;
	void wMSlider12_vch_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel7;
	STTLabel *wMLabel8;
	STTSlider *wMSlider13;
	void wMSlider13_vch_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel9;
	STTLabel *wMLabel10;
	STTSlider *wMSlider14;
	void wMSlider14_vch_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel11;
	STTSlider *wMSlider15;
	void wMSlider15_vch_cb(uint16_t code, LvEvent e);

	STTLabel *wMLabel12;
public:
	Frm07(HmiApp *app, STTWidget *par, const string &id, const string &desc = "");
	virtual ~Frm07();
	void onInit();
	void createParts();
	void onLoad();
	bool onClosing();
	void onDispose();
	/*CUSTOM_CODE_BEGIN*/
	void onMyEvent(uint16_t code, LvEvent e);
	/*CUSTOM_CODE_END*/

protected:
	HmiApp *hmiApp;
};

#endif
